package com.xialj.demoend.mapper;

import com.xialj.demoend.entity.User;
import com.xialj.demoend.entity.UserExport;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author xlj
 * @Date Created in  2023/2/24 13:15
 * @DESCRIPTION:  mapper层 调用sql
 * @Version V1.0
 */
@Mapper
@SuppressWarnings("ALL")
public interface UserMapper {
    List<User> allUserMessage(User user);

    int deleteUserMessageById(@Param("id") String id);

    int insert(User user);

    int update(User user);

    int deleteUserMessageByIds(List<String> ids);

    List<UserExport> getAllUsers();

    void insertUser(User user);
}
